package com.apware.utils;

import org.apache.log4j.Logger;

import com.apware.utils.config.Config;
import com.apware.utils.service.CarPartService;
import com.apware.utils.util.DateUtil;
import com.apware.utils.util.SecurityUtil;

public class Cmain {

	static Logger log = Logger.getLogger(Cmain.class);

	/**
	 * 主程序入口
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
	
		log.info("init sync service 启动同步服务...");   
		
		// 加载配置
		if (!Config.readConfig()) 
			return;
		
		// 启动同步服务
		new CarPartService().run();

	}

}
